<template>
	<view class="container">
	<uni-section title="评论" sub-title="" type="line">	
	<!-- <uni-list>
		<uni-list-item :title="haochi.comment" note=""></uni-list-item>
	</uni-list> -->
	<view class="">{{haochi.comment}}</view>
	</uni-section>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				haochi:{}
			}
		},
		methods: {

		},
		onLoad(){
			uni.request({
				url: 'http://localhost:8090/foodapp/comment/findone',
				method: 'post',
				data:{id:1},
				success: res => {
					if (res.data.success) {
						this.haochi = res.data.data
						console.log(this.haochi);
					}
				},
				fail: () => {},
				complete: () => {}
			});
		
		}
	}
</script>

<style>

</style>
